﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Roslyn.Compilers;
using Roslyn.Compilers.CSharp;
using Raop.Library.Aop;

namespace Raop.Console
{
    class Program
    {
        static void Main(string[] args)
        {
            var proj = args[0];

            if (proj.EndsWith("csproj"))
            {
                var parse = new ParseProject(proj);
                parse.Run();

            }
            else if (proj.EndsWith("sln"))
            {
                var parse = new ParseSolution(proj);
                parse.Run();
            }

        }
    }
}
